package com.scuec.groupfive.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

@Mapper
public interface WrongQuestionMapper_z {
    List<Map<String, Object>> getWeakPointsByUserId(@Param("userId") Long userId,
                                                   @Param("subjectId") Integer subjectId,
                                                   @Param("offset") Integer offset,
                                                   @Param("limit") Integer limit);

    int getWeakPointsCount(@Param("userId") Long userId, @Param("subjectId") Integer subjectId);
} 